package com.legolas.demo.domain;

import org.apache.ibatis.type.Alias;

@Alias("User")
public class User {

    private int id; //用户id

    private String username;//用户名(手机号、邮箱等)

    private String nickname;//用户昵称

    private String password;//用户登录密码

    private Boolean locked;//是否锁定

    private String rolesitems;

    public String getRolesitems() {
        return rolesitems;
    }

    public void setRolesitems(String rolesitems) {
        this.rolesitems = rolesitems;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Boolean getLocked() {
        return locked;
    }

    public void setLocked(Boolean locked) {
        this.locked = locked;
    }
}
